package com.wish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author 闫东浩
 * @since 2021-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_room_info")

public class RoomInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String houseId;

    /**
     * 封面
     */
    private String frontCover;

    private String roomName;

    private String roomCode;

    private Double proportion;

    private Integer direction;

    private Double rental;

    private String decorateStyle;

    private String buildingName;

    private Integer floor;

    /**
     * 集中式房源楼层总数
     */
    private Integer floorCount;

    private Integer status;

    private String privateFacility;

    /**
     * 推荐房源1.推荐 2.不推荐
     */
    private Integer recommended;

    private Integer reserve1;

    private Integer reserve2;

    private String reserve3;

    private String reserve4;

    private String reserve5;

    private Integer deptId;

    private Date createTime;

    private String styleId;

    /**
     * 装修时间
     */
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private Date finishDate;

    /**
     * 空置时间
     */
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private Date vacancyDate;

    /**
     * 删除标识。0:未删除，1：删除
     */
    private Boolean delFlg;
    @DateTimeFormat(pattern = "yyyy-mm-dd")
    private Date updateTime;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String publishStatus;

    @TableField(exist = false)
    private List<TCfContract> contractList;
    @TableField(exist = false)
    private Integer sid;
    @TableField(exist = false)
    private Integer cid;
    @TableField(exist = false)
    private  Integer did;
    @TableField(exist = false)
    private String preName;
    @TableField(exist = false)
    private String buildingNo;
    @TableField(exist = false)
    private String unitNo;
    @TableField(exist = false)
    private String roomNo;
    @TableField(exist = false)
    private Integer roomNum;
    @TableField(exist = false)
    private Integer leaseType;
}
